import http from '../utils/request.js'

const rechargeApi = {
	// 获取用户信息
	getRechargeLogList(data) {
		return http.get('/recharge/getRechargeLogList', data, {
			isFormData: true // 明确指定 form-data 格式
		})
	},
	// 发起充值
	initiateRecharge(data) {
		return http.post('/recharge/initiateRecharge', data)
	}
}

export default rechargeApi